/*
 * Shell.h
 *
 *  Created on: Apr 12, 2012
 *      Author: sony
 */

#ifndef SHELL_H_
#define SHELL_H_

#include <iostream>
#include <stdlib.h>
#include <vector>

#include "Token.h"
#include "Parser.h"
#include <string.h>
using namespace std;

class Shell {
public:
	void leave(int);
	Shell(void);
	virtual ~Shell();
	void execute(void);
	void parseTokens();
private:
	bool runApp, pipe;
	list<Token*> *line;
	Parser* parser;
};

#endif /* SHELL_H_ */
